'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    ctx.body = 'hi, egg-cloud';
  }
  async test() {
    const { ctx, app } = this;
    let a = await app.mysql.query(`select * from 念甲村2019年年底贫困户花名册 limit 0,100;`);
    ctx.body = a;
  }
}

module.exports = HomeController;
